/**
 * 11/03/2014
 * 
 * WelcomeController
 */
package org.cuatrovientos.erp.controller;

import java.util.Map;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Controller class for Welcome
 * @author Javier Tejedor
 */
@Controller
public class WelcomeController {

	//Get log4j logger
	private static final Logger logger = 
			Logger.getLogger(WelcomeController.class);

	/**
	 * default constructor
	 */
	public WelcomeController () {
		logger.info("State BEAN instantiated");
	}

	/**
	 * @param model
	 * @return
	 */
	@RequestMapping({"/","*","/welcome"})
	public String sayHelloPage(Map<String, Object> model) {
		return "Welcome";
	}

}
